xen/arm: pci: Add stubs to allow selecting HAS_PCI
authorRahul Singh <rahul.singh@arm.com>
Tue, 28 Sep 2021 18:18:11 +0000 (19:18 +0100)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Fri, 1 Oct 2021 01:22:24 +0000 (18:22 -0700)
commita3a476fb744d4c516838353f3bc6a42d03e031a3
treeb324764c66c23ae1f9afb76122acdf3fcfbe9aad
parenta12ceae85be64f8edcfaa4bf94b5b7d8dba8a2f3
xen/arm: pci: Add stubs to allow selecting HAS_PCI

In a follow-up we will enable PCI support in Xen on Arm (i.e select
HAS_PCI).

The generic code expects the arch to implement a few functions:
arch_iommu_use_permitted()
arch_pci_clean_pirqs()

Note that this is not yet sufficient to enable HAS_PCI and will be
addressed in follow-ups.

Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
xen/arch/arm/Makefile
xen/arch/arm/pci/Makefile [new file with mode: 0644]
xen/arch/arm/pci/pci.c [new file with mode: 0644]
xen/drivers/passthrough/arm/iommu.c
xen/include/asm-arm/pci.h